import request from '@/router/axios'

export function fetchWxCustomerServiceLogList(query) {
  return request({
    url: '/mp/wxcustomerservicelog/page',
    method: 'get',
    params: query
  })
}

export function addWxCustomerServiceLogObj(obj) {
  return request({
    url: '/mp/wxcustomerservicelog',
    method: 'post',
    data: obj
  })
}

export function getWxCustomerServiceLogObj(id) {
  return request({
    url: '/mp/wxcustomerservicelog/' + id,
    method: 'get'
  })
}

export function delWxCustomerServiceLogObj(id) {
  return request({
    url: '/mp/wxcustomerservicelog/' + id,
    method: 'delete'
  })
}

export function putWxCustomerServiceLogObj(obj) {
  return request({
    url: '/mp/wxcustomerservicelog',
    method: 'put',
    data: obj
  })
}
